# Description: Program, KDE için bir polkit kimlik doğrulama arayüzü sağlar.
# URL: https://www.kde.org/
# Packager: alihan-ozturk@hotmail.com
# Depends on: kf5-kcoreaddons kf5-kcrash kf5-kdbusaddons kf5-ki18n kf5-knotifications kf5-kwidgetsaddons kf5-kwindowsystem kf5-kiconthemes polkit-qt5 

name=plasma-polkit-kde-agent
version=5.8.1
release=1
_name=polkit-kde-agent

source=( http://download.kde.org/stable/plasma/$version/${_name}-1-$version.tar.xz)

build() {
cd ${_name}-1-$version
cmake -DCMAKE_INSTALL_PREFIX=/usr \
      -DCMAKE_BUILD_TYPE=Release  \
      -DLIB_INSTALL_DIR=lib       \
      -DBUILD_TESTING=OFF         \
      -DLIBEXEC_INSTALL_DIR=lib/polkit-kde    \
      -Wno-dev
      
make
make DESTDIR=$PKG install
}

